.container {
	margin: 0 15px;
}
body {
	background-color: #e8e8e8;
}

/* 头部 */
header {
	width: 375px;
	height: 160px;
	background-color: #fff;
	position: relative;
}
#head {
	width: 345px;
	height: 160px;
}
#photo {
	width: 80px;
	height: 80px;
	background-color: rgb(0, 115, 255);
	border-radius: 50px;
	position: absolute;
	top: 30px;
	left: 20px;
}
#head a:nth-child(2) {
	font-size: 20px;
	color: #000;
	position: absolute;
	top: 60px;
	left: 120px;
}
#head p:nth-child(3) {
	font-size: 14px;
	width: 345px;
	color: #000;
	position: absolute;
	bottom: 20px;
	left: 20px;
	color: #787878;
}
#head p:nth-child(4) {
	display: inline-block;
	padding: 2px 4px;
	border-radius: 2px;
	color: #fff;
	font-size: 16px;
	background-color: orangered;
	position: absolute;
	top: 90px;
	left: 70px;
}

/* 主体 */
main > section {
	width: 375px;
	height: 140px;
	background-color: #fff;
	margin: 20px 0;
}

/* 运动数据 */
#data {
	width: 345px;
	height: 140px;
}
#first {
	width: 345px;
	height: 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#first p:first-child {
	font-size: 16px;
}
#first p:first-child > span {
	font-size: 24px;
	color: rgb(0, 115, 255);
	margin-right: 8px;
	margin-left: 5px;
}
#first p:last-child {
	font-size: 24px;
	transform: rotateY(180deg);
	color: #787878;
}
#second {
	width: 345px;
	height: 80px;
	/* background-color: aqua; */
	margin-top: 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#second .sports {
	width: 175px;
	height: 80px;
	/* background-color: orangered; */
	padding-left: 20px;
	box-sizing: border-box;
	border-right: 1px dashed #979797;
}
#second .sports > p:first-child {
	font-size: 16px;
	color: #787878;
}
#second .sports > p:nth-child(2) {
	font-size: 16px;
	color: #000000;
	margin-top: 20px;
}
#second .sports > p:nth-child(2) span {
	font-size: 36px;
	color: #4294ff;
	margin-top: 20px;
}
#calorie {
	width: 170px;
	height: 80px;
}
#calorie .thisWeek {
	width: 175px;
	height: 80px;

	padding-left: 20px;
	box-sizing: border-box;
	font-size: 16px;
	color: #787878;
}
#calorie .thisWeek > p:nth-child(2) {
	font-size: 16px;
	color: #000000;
	margin-top: 20px;
}
#calorie .thisWeek > p:nth-child(2) span {
	font-size: 36px;
	color: #4294ff;
	margin-top: 20px;
}

/* 我的运动徽章 */
#medal {
	width: 345px;
	height: 140px;
}
#badge {
	width: 345px;
	height: 100px;
	display: flex;
	justify-content: space-between;

	align-items: center;
}
#badge > div {
	width: 80px;
	height: 80px;
	background-color: #fff;
	border-radius: 40px;
}
#badge > div:first-child {
	background: url(../../assets/images/badge1.png) no-repeat;
	background-size: cover;
}
#badge > div:nth-child(2) {
	background: url(../../assets/images/badge2.png) no-repeat;
	background-size: cover;
}
#badge > div:nth-child(3) {
	background: url(../../assets/images/badge3.png) no-repeat;
	background-size: cover;
}
/* 退出登录 */
#exit {
	height: 40px;
}
#exit a {
	display: block;
	font-size: 16px;
	color: #4294ff;
	text-align: center;
	line-height: 40px;
}
/* 导航栏 */
